package dwl.graduation.design.service;

import dwl.graduation.design.domain.*;
import dwl.graduation.design.utils.PageResult;
import dwl.graduation.design.utils.QueryPageBean;
import dwl.graduation.design.utils.Result;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface WorkService {
    ProcessInstanceDTO startProcess(StartApplyRequest startApplyRequest);

    PageResult getTaskList(String userName);

    Result approvedTask(TaskRequest taskRequest);

    Map<String, Object> getProcessStatus(String processInstanceId);

    List<HiTaskResponse> getHiTaskByUser(String userName);

    void insertFurniture(InsertFurnitureRequest insertFurnitureRequest) throws ParseException;

    PageResult findPageList(QueryPageBean queryPageBean);
}
